import Layout from '@/layout'
//统计报表
const statisticalReportsRouter = {
    path: '/statistical-reports',
    component: Layout,
    redirect: '/statistical-reports/daily-report',
    name: 'SystemManagement',
    meta: {
        title: '统计报表',
        icon: 'statistical-reports'
    },
    children: [
        {
            path: '/daily-report',
            component: () => import('@/views/statistical-reports/daily-report'),
            name: 'DailyReport',
            meta: {
                title: '日报表',
                icon: 'daily-report'
            }
        },
        {
            path: '/weekly-report',
            component: () => import('@/views/statistical-reports/weekly-report'),
            name: 'WeeklyReport',
            meta: {
                title: '周报表',
                icon: 'weekly-report'
            }
        },
        {
            path: '/monthly-report',
            component: () => import('@/views/statistical-reports/monthly-report'),
            name: 'MonthlyReport',
            meta: {
                title: '月报表',
                icon: 'monthly-report'
            }
        },
        {
            path: '/annual-report',
            component: () => import('@/views/statistical-reports/annual-report'),
            name: 'AnnualReport',
            meta: {
                title: '年报表',
                icon: 'annual-report'
            }
        },
        {
            path: '/custom-time-report',
            component: () => import('@/views/statistical-reports/custom-time-report'),
            name: 'CustomTimeReport',
            meta: {
                title: '自选时间报表',
                icon: 'custom-time-report'
            }
        }
    ]
}
export default statisticalReportsRouter
